﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zhp.Entity.Sys;
using Zhp.Model.Sys;

namespace Zhp.IService.Sys
{
    public interface ISysMenuService
    {
        Task<List<MenuModel>> GetMenu(MenuQuery query);
        Task<List<MenuModel>> GetSubMenu(long Id);
        Task<List<MenuTreeModel>> GetParentMenuTree(long? Id);
        Task<bool> Create(MenuCreate user);
        Task<bool> Update(MenuCreate update);
        Task<bool> Delete(long id);
        Task<List<HomeMenuTreeModel>> GetHomeMenuList();
        Task<List<ButtonModel>> GetButtonList(long menuId);
    }
}
